package njust.csc.aeapi.config

import njust.csc.aeapi.utils.QRCodeDecoder
import njust.csc.aeapi.utils.QRCodeGenerator
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration


/**
 * @Author ZhouHang
 * @Date 24/6/14 周五
 */
@Configuration
class QRCodeConfig {
    @Bean
    fun qrCodeGenerator(): QRCodeGenerator {
        return QRCodeGenerator()
    }

    @Bean
    fun qrCodeDecoder(): QRCodeDecoder {
        return QRCodeDecoder()
    }
}